package org.yangspring.samples.mvc.domainOracle;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by whyang on 2017/06/22.
 */

@Entity
@Table(schema = "OE", name = "PRODUCT_INFORMATION")
public class ProductInfo {

    @Id
    @Column(name = "PRODUCT_ID")
    private Integer productId;

    @Column(name = "PRODUCT_NAME")
    private String productName;

    @Column(name = "PRODUCT_DESCRIPTION")
    private String productDesc;

    @Column(name = "CATEGORY_ID")
    private Integer catagoryId;

    @Column(name = "WEIGHT_CLASS")
    private Integer weightClass;

    @Column(name = "WARRANTY_PERIOD")
    private String warrantyPeriod;

    @Column(name = "SUPPLIER_ID")
    private Integer supplierId;

    @Column(name = "PRODUCT_STATUS")
    private String productStatus;

    @Column(name = "LIST_PRICE")
    private Integer listPrice;

    @Column(name = "MIN_PRICE")
    private Integer minPrice;

    @Column(name = "CATALOG_URL")
    private String catalogUrl;

    public void setProductId(Integer productId){
        this.productId = productId;
    }
    public Integer getProductId(){
        return this.productId;
    }

    public void setProductName(String productName){
        this.productName = productName;
    }
    public String getProductName(){
        return this.productName;
    }

    public void setProductDesc(String productDesc){
        this.productDesc = productDesc;
    }
    public String getProductDesc(){
        return this.productDesc;
    }

    public void setCatagoryId(Integer catagoryId){
        this.catagoryId = catagoryId;
    }
    public Integer getCatagoryId(){
        return this.catagoryId;
    }

    public void setWeightClass(Integer weightClass){
        this.weightClass = weightClass;
    }
    public Integer getWeightClass(){
        return this.weightClass;
    }

    public void setWarrantyPeriod(String warrantyPeriod){
        this.warrantyPeriod = warrantyPeriod;
    }
    public String getWarrantyPeriod(){
        return this.warrantyPeriod;
    }

    public void setSupplierId(Integer supplierId){
        this.supplierId = supplierId;
    }
    public Integer getSupplierId(){
        return this.supplierId;
    }

    public void setProductStatus(String productStatus){
        this.productStatus = productStatus;
    }
    public String getProductStatus(){
        return this.productStatus;
    }

    public void setListPrice(Integer listPrice){
        this.listPrice = listPrice;
    }
    public Integer getListPrice(){
        return this.listPrice;
    }

    public void setMinPrice(Integer minPrice){
        this.minPrice = minPrice;
    }
    public Integer getMinPrice(){
        return this.minPrice;
    }

    public void setCatalogUrl(String catalogUrl){
        this.catalogUrl = catalogUrl;
    }
    public String getCatalogUrl(){
        return this.catalogUrl;
    }

}
